import request from '@/utils/request'

export default {



  ztree_menu: (data) => {//授权菜单
    return request({
      url: '/adminapi/auth/ztree_menu',
      method: 'post',
      data: data
    })
  },
  auth_menurolelist: (data) => {//系统角色列表
    return request({
      url: '/adminapi/auth/auth_menurolelist',
      method: 'post',
      data: data
    })
  },

  auth_menuroleview: (data) => {//系统角色查看
    return request({
      url: '/adminapi/auth/auth_menuroleview',
      method: 'post',
      data: data
    })
  },

  auth_menuroleedit: (data) => {//系统角色保存
    return request({
      url: '/adminapi/auth/auth_menuroleedit',
      method: 'post',
      data: data
    })
  },

  auth_menuroledelete: (data) => {//系统角色删除
    return request({
      url: '/adminapi/auth/auth_menurolelist',
      method: 'post',
      data: data
    })
  },



}